package com.example.project_01.service;

import com.example.project_01.dto.MedicalPolicyQueryDTO;
import com.example.project_01.model.MedicalPolicyModel;
import com.example.project_01.commons.Result;
import com.example.project_01.pojo.MedicalPolicy;

import java.util.List;

public interface MedicalPolicyService {

    /* 根据条件查询医保政策列表（不分页）*/
    List<MedicalPolicyModel> getPolicyList(MedicalPolicyQueryDTO queryDTO);

    /*根据条件分页查询医保政策*/
    Result getPolicyPage(MedicalPolicyQueryDTO queryDTO);

    /*根据ID查询医保政策详情*/
    MedicalPolicyModel getPolicyById(Long id);

    /*添加医保政策*/
    Result addMedicalPolicyService(MedicalPolicy medicalPolicy);

    //根据id删除数据
    Result deleteByIdService(Long id);

    //查询所有医保政策数据
    Result findAllMedicalPolicyService();

    //根据id修改数据
    Result updateMedicalPolicyByIdService(MedicalPolicy medicalPolicy);


}
